package com.jy.api.dao;

import com.jy.api.domain.IpStoreAddress;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by xiaohua on 2019/5/29.
 */
public interface IpStoreAddressDao extends CrudRepository<IpStoreAddress,Integer> {

    List<IpStoreAddress> findByStoreIdAndEnabledOrderByAddTimeDesc(String storeId,boolean enabled);





}
